package com.ljt.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ljt.utils.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_in_stock")
@ApiModel(value="BizInStock对象",description = "")
public class InStock {
    @ApiModelProperty(value="id")
    @TableId(value="id",type= IdType.AUTO)
    @Excel(name = "编号")
    private Long id;
    @ApiModelProperty(value="入库单编号")
    @Excel(name = "入库单编号")
    private String inNum;
    @ApiModelProperty(value="类型：1：捐赠，2：下拨，3：采购,4:退货入库")
    @Excel(name = "类型：1：捐赠，2：下拨，3：采购,4:退货入库")
    private int type;
    @ApiModelProperty(value="操作人员")
    @Excel(name = "操作人员")
    private String operator;
    @ApiModelProperty(value="入库单创建时间")
    @Excel(name = "入库单创建时间")
    private Date createTime;
    @ApiModelProperty(value="入库单修改时间")
    @Excel(name = "入库单修改时间")
    private Date modified;
    @ApiModelProperty(value="物资总数")
    @Excel(name = "物资总数")
    private Long productNumber;
    @ApiModelProperty(value="来源")
    @Excel(name = "来源")
    private Long supplierId;
    @ApiModelProperty(value="描述信息")
    @Excel(name = "描述信息")
    private String remark;
    @ApiModelProperty(value="0:正常入库单,1:已进入回收,2:等待审核")
    @Excel(name = "0:正常入库单,1:已进入回收,2:等待审核")
    private int status;
}
